<template>
  <div>
    <myUl :list="list">
      <template slot-scope="scope">
        <div class="info">
          <p>scope:{{scope}}</p>
        </div>
      </template>
    </myUl>
  </div>
</template>

<script>
export default { // 因为 slot-scope 一般都和 ”循环“ 有关
  components: {
    myUl: require('./ul.vue').default
  },
  data () {
    return {
      list: [{
        name: 'aaaa'
      }, {
        name: 'bbbb'
      }]
    }
  }
}
</script>
